<?php
session_start();
if(!$_SESSION["trv3_07"]){
	header("location:../login.php");
	exit;
}
require "../resources/v1.php";
if( !get_magic_quotes_gpc()){
    $inciso = addslashes( trim( $_GET['inc']));
	$Autos = addslashes( trim( $_GET['HD12']));
	$Tip = addslashes( trim( $_GET['HD09']));
}else{
    $inciso = trim( $_GET['inc']);
	$Autos = trim( $_GET['HD12']);
	$Tip = trim( $_GET['HD09']);
}
$conexion = server_reconnect();
$query="update `ie` set `sub` = 1 where `autos`=".$Autos." and `tip`=".$Tip." and `inc`=".$inciso;
mysql_query( $query, $conexion);
server_disconnect( $conexion);
?>